export default defineAppConfig({
  pages: [
    "pages/login/login",
    "pages/motion/motion",
    "pages/record/record",
    "pages/motion-add/index",
    "pages/plan/plan",
    "pages/planadd/planadd",
    "pages/startplan/index",
    "pages/recordadd/index",
    "pages/history/index",
  ],
  window: {
    backgroundTextStyle: "light",
    navigationBarBackgroundColor: "#f6f6f6",
    navigationBarTitleText: "WeChat",
    navigationBarTextStyle: "black",
    backgroundColor: "#d5d5d5",
  },
  tabBar: {
    selectedColor: "#13227a",
    list: [
      {
        pagePath: "pages/record/record",
        text: "记录",
        iconPath: "assets/icons/record.png",
        selectedIconPath: "assets/icons/record-active.png",
      },
      {
        pagePath: "pages/motion/motion",
        text: "动作",
        iconPath: "assets/icons/stock.png",
        selectedIconPath: "assets/icons/stock-active.png",
      },
      {
        pagePath: "pages/plan/plan",
        text: "计划",
        iconPath: "assets/icons/plan.png",
        selectedIconPath: "assets/icons/plan-active.png",
      },
    ],
  },
});
